umount /usr/local/cpanel/cpanel.lisc
declare -a process
for t1 in $(grep -l cpanel.lisc /proc/*/mounts); do
   t2="${t1#/proc/}" # remove /proc/ from beginning
   pid="${t2%/mounts}" # remove /mountinfo from the end
   process+=("$pid")
done

kill -9 "${process[@]}"
ls | grep -l cpanel.lisc /proc/*/mounts | xargs rm